package com.lmf.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 创建boot项目的启动类
 */
@SpringBootApplication
@ComponentScan("com.lmf")
@EnableDiscoveryClient  //开启nacos注册中心服务发现功能
@EnableFeignClients     //开启Feign远程调用服务
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
